package com.ug.common.constant;

/**
 * @author: LY
 * @date: 2024/12/18 14:15
 * @description: 热点常量
 */
public class HotConstants {

    /**
     * 热点数据失效时间 单位：小时
     */
    public static final int HOT_TIME_OUT = 2;
    /**
     * 获取热点数据key
     */
    public static final String HOT_TYPE_KEY = "_attributeValues";
    /**
     * 渠道：百度热搜
     */
    public static final String HOT_TYPE_BAIDU = "baidu";
    /**
     * 百度热搜地址
     */
    public static final String BAIDU_HOT_URL = "https://top.baidu.com/board?tab=realtime";
    /**
     * 渠道：哔哩哔哩热搜
     */
    public static final String HOT_TYPE_BIBI = "bibi";
    /**
     * 哔哩哔哩热搜地址
     */
    public static final String BIBI_HOT_URL = "https://api.bilibili.com/x/web-interface/popular?ps=20&pn=1&web_location=333.934";
    /**
     * 渠道：抖音热搜
     */
    public static final String HOT_TYPE_DOUYIN = "douyin";
    /**
     * 抖音热搜地址
     */
    public static final String DOUYIN_HOT_URL = "https://www.douyin.com/aweme/v1/web/hot/search/list/?device_platform=webapp";
    /**
     * 渠道：澎湃新闻
     */
    public static final String HOT_TYPE_PENG_PAI = "pengpai";
    /**
     * 澎湃新闻地址
     */
    public static final String PENG_PAI_HOT_URL = "https://cache.thepaper.cn/contentapi/wwwIndex/rightSidebar";
    /**
     * 渠道：掘金热搜
     */
    public static final String HOT_TYPE_JUE_JIN = "juejin";
    /**
     * 掘金热搜地址
     */
    public static final String JUE_JIN_HOT_URL = "https://api.juejin.cn/content_api/v1/content/article_rank?category_id=1&type=hot&count=50&from=0";
    /**
     * 渠道：微博热搜
     */
    public static final String HOT_TYPE_WEIBO = "weibo";
    /**
     * 微博热搜地址
     */
    public static final String WEIBO_HOT_URL = "https://weibo.com/ajax/side/searchBand?last_tab=hot";
    /**
     * 渠道：贴吧热搜
     */
    public static final String HOT_TYPE_TIBA = "tiba";
    /**
     * 贴吧热搜地址
     */
    public static final String TIBA_HOT_URL = "https://tieba.baidu.com/hottopic/browse/topicList";
    /**
     * 渠道：豆瓣一周口碑榜
     */
    public static final String HOT_TYPE_DOUBAN = "douban";
    /**
     * 豆瓣一周口碑榜地址
     */
    public static final String DOUBAN_HOT_URL = "https://movie.douban.com/chart";
    /**
     * 渠道：豆瓣北美票房榜
     */
    public static final String HOT_TYPE_DOUBAN_BEIMEI = "doubanbeimei";
    /**
     * 豆瓣北美票房榜地址
     */
    public static final String DOUBAN_BEIMEI_HOT_URL = "https://movie.douban.com/chart";
    /**
     * 渠道：今日头条热榜
     */
    public static final String HOT_TYPE_TOUTIAO = "toutiao";
    /**
     * 今日头条热榜地址
     */
    public static final String TOUTIAO_HOT_URL = "https://www.toutiao.com/hot-event/hot-board/?origin=toutiao_pc";
    /**
     * 渠道：知乎热榜
     */
    public static final String HOT_TYPE_ZHIHU = "zhihu";
    /**
     * 知乎热榜地址
     */
    public static final String ZHIHU_HOT_URL = "https://www.zhihu.com/api/v3/feed/topstory/hot-lists/total?limit=50&desktop=true";
    /**
     * 渠道：52pojie热门
     */
    public static final String HOT_TYPE_POJIE = "52pojie";
    /**
     * 52pojie热门地址
     */
    public static final String POJIE_HOT_URL = "https://www.52pojie.cn/forum.php?mod=guide&view=hot";
}
